.PHONY:all
all:tcp_server tcp_client
tcp_server:server.cc
	g++ -o $@ $^ -std=c++14 -lpthread
tcp_client:client.cc
	g++ -o $@ $^ -std=c++14 -lpthread
.PHONY:c
c:
	rm -f tcp_server tcp_client